home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
winlib1.zip
/
EXAMPLES.ZIP
/
EXAM7.C
< prev
next >
Wrap
Text File
|
1991-01-14
|
546b
|
20 lines
#include <window.h>
#define NORM CREATE_VIDEO_ATTRIBUTE(black,white)
WPOINTER w;
main()
{
WindowInitializeSystem();
WindowSaveInitial(0);
w = WindowInitialize(BORDER,1,1,10,10,NORM,NORM,SINGLEBOX);
WindowOpen(w);
WindowDisplay(w,1,NOEFFECT);
GET_KEY();
WindowResizeHeight(w,15,ANCHORTOP); /* Resize the window with a new height
of 15 */
GET_KEY();
WindowResizeHeight(w,5,ANCHORTOP); /* Resize window with new height of 5 */
}